package com.ruoyi.fly.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.fly.domain.Referralrewards;
import com.ruoyi.fly.domain.vo.AmountViewVo;
import com.ruoyi.fly.domain.vo.ReferralrewardsVo;

import java.util.List;

/**
 * 分享消费奖励Service接口
 */
public interface ReferralrewardsService
{
    /**
     * 查询分享消费奖励
     * 
     * @param id 分享消费奖励主键
     * @return 分享消费奖励
     */
     Referralrewards selectReferralrewardsById(String id);

     Referralrewards selectReferralrewards();

     R selectAmountViewList(AmountViewVo amountViewVo);


     /**
     * 查询分享奖励列表
     *
     * @param amountViewVo 分享消费奖励
     * @return 分享消费奖励集合
     */
     R selectShareAmountViewList(AmountViewVo amountViewVo);


    /**
     * 修改分享消费奖励
     * 
     * @param referralrewards 分享消费奖励
     * @return 结果
     */
     R updateReferralrewards(ReferralrewardsVo referralrewards);
}
